export default {
  instanceCode: 'fas_datagrid',
  dataSource: {
    hasValue: true,
    DataType: 0,
    DataBind:
      'DataQuery.GetCDO_DO_174634BasicList(DefaultInputFilter,PageIndex,PageSize,AdvancedFilter,AdvancedSort).List',
    DataSource: '7fc80f7f-c59e-4175-9299-a3eca02d5132',
    ActionType: 3,
    RelatedCdoCode: 'CDO_DO_174634',
    IsMultiLang: false,
    DataSourceType: 'Action',
    Parameters: [
      {
        ID: '0e5d9990-2a88-dffc-75a7-086649737811',
        Code: 'DefaultInputFilter',
        Name: '模糊匹配参数',
        Value: null,
        dataType: 'String',
        ExprExt: {
          IsSysDefault: false,
        },
      },
      {
        ID: '6fc6ad48-e82b-ba54-4d1c-fc5aa2cef499',
        Code: 'PageIndex',
        Name: '页码',
        Value: null,
        dataType: 'Int',
        ExprExt: {
          IsSysDefault: true,
        },
      },
      {
        ID: '6c3e4809-5aa0-a068-dac5-b862484bdfb8',
        Code: 'PageSize',
        Name: '分页大小',
        Value: null,
        dataType: 'Int',
        ExprExt: {
          IsSysDefault: true,
        },
      },
      {
        ID: '7adf2001-9fe0-9577-9a75-d2d435bf4d07',
        Code: 'AdvancedFilter',
        Name: '高级查询过滤条件',
        Value: null,
        dataType: 'String',
        ExprExt: {
          IsSysDefault: true,
        },
      },
      {
        ID: '940fe497-86be-bb0c-32a8-7a3d3ad37df5',
        Code: 'AdvancedSort',
        Name: '高级查询排序条件',
        Value: null,
        dataType: 'String',
        ExprExt: {
          IsSysDefault: true,
        },
      },
    ],
    LoadDataTime: false,
  },
  idField: 'ID',
  enableCmdCol: false,
  cmdColConfig: {
    columnConf: {
      width: 250,
      fixed: true,
      fixedPosition: 'right',
      caption: '操作',
      ValueInfo_caption:
        'Schema.Page.PageDataGrid3.Controls.fasr_data_grid.GridData.columnConf.caption',
    },
    commands: [
      {
        inMore: false,
        exprVisible: 'true',
        clientScript: 'alert(1)',
        UUID: 'e91cb2a7-7777-368b-7ace-fe88da26a513',
        text: '按钮A',
        icon: 'fas dx-icon icon-t-ticket-money',
        ValueInfo_text:
          'Schema.Page.PageDataGrid3.Controls.fasr_data_grid.GridData.commands.iteme91cb2a7_7777_368b_7ace_fe88da26a513.text',
      },
      {
        inMore: false,
        exprVisible: 'Widget.dataGrid1.colCmdInfo.data.Boolean',
        clientScript: 'alert(`按钮B:${Widget.dataGrid1.colCmdInfo.data.Name}`)',
        UUID: 'c92f7dde-1369-dcd5-796e-8b5fe4197ad7',
        text: '按钮B',
        icon: 'fas dx-icon icon-t-bell-close-fill',
        ValueInfo_text:
          'Schema.Page.PageDataGrid3.Controls.fasr_data_grid.GridData.commands.itemc92f7dde_1369_dcd5_796e_8b5fe4197ad7.text',
      },
      {
        inMore: true,
        exprVisible: 'true',
        clientScript: "alert('隐藏A')",
        UUID: 'd8b48d84-12a8-3de4-7862-47a8c7b32544',
        text: '隐藏A',
        ValueInfo_text:
          'Schema.Page.PageDataGrid3.Controls.fasr_data_grid.GridData.commands.itemd8b48d84_12a8_3de4_7862_47a8c7b32544.text',
      },
    ],
  },
  hideLabel: true,
  label: '数据表格',
  selectMode: 'single',
  enableUnSelect: false,
  visible: true,
  noDataText: '没有符合条件的数据',
  showFooter: true,
  showRowNumber: false,
  columnAutoWidth: true,
  showStriped: true,
  isWarp: false,
  showPager: true,
  pageSize: 10,
  showPageSizeSelector: true,
  showNavButtons: true,
  showInfo: true,
  showAutoFilterRow: false,
  allowColumnMoving: false,
  allowFilter: false,
  allowSort: true,
  allowGroup: false,
  autoExpandAllGroups: true,
  columnHidingEnabled: false,
  selectedRow: '',
  selectedRows: '',
  pageIndex: '',
  isSelectedRow: false,
  columnsInfo: '',
  cellClickInfo: '',
  colCmdInfo: '',
  selectedRowIndex: '',
  initNewRowArgs: '',
  rowValidatingArgs: '',
  editCanceledArgs: '',
  savedArgs: '',
  allowColumnResizing: true,
  columnResizingMode: 'widget',
  saveColumnWidth: true,
  style: {
    hasValue: true,
    style: '    opacity:100% ',
    classList: [],
  },
  fillMode: 'auto',
  height: '500px',
  fillMarginBottom: '',
  rows: '',
  tabIndex: 0,
  remoteFunc: 'func_fasDatagrid_1706507758412',
  remoteOption: 'option_fasDatagrid_1706507758412',
  tableColumn: false,
  ValueInfo_noDataText: {
    Type: '0',
    ShowValue: '没有符合条件的数据',
    ReferenceExpr: 'Schema.Controls.fas_datagrid.NoDataText',
  },
  columns: [
    {
      ID: 'ID',
      tableAlias: "DO_do_teamsoc",dataField: 'ID',
      caption: '主键ID',
      dataType: 'String',
      isShow: true,
      customCellContent: {
        'font-family': 'AlibabaPuHuiTi',
        'font-size': '14px',
        'color': '#ff5a66',
      },
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.ID',
      ValueInfo_caption: {
        ShowValue: '主键ID',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.ID.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.ID.DataType',
        Type: 0,
      },
    },
    {
      ID: 'Code',
      tableAlias: "DO_do_teamsoc",dataField: 'Code',
      caption: '编号',
      dataType: 'string',
      isShow: true,
      customCellContent:
        "return `<div v-show='false'>编号:<a style='color:blue'>${rowData.value}</a></div>`",
      groupIndex: '',
      ExprExt: {},
      fixedColumn: 'left',
      linkFormat:
        "debugger;alert(Widget.dataGrid1.CellClickInfo);alert('asdf')",
      enumDisp: {
        showMode: 'icon',
        textAlign: 'left',
        valMapping: true,
        enumRanges: [
          {
            val: '0',
            text: '2',
            icon: '',
            color: 'rgba(181, 132, 132, 1)',
            iconColor: 'rgba(89,204,178,1.00)',
            bgColor: '',
            UUID: '1d58f31a-8345-ccc7-be71-d459999c6320',
            ValueInfo_text:
              'Schema.Page.Page135545.Controls.fas_datagrid.GridData.enumRanges.Code.item1d58f31a_8345_ccc7_be71_d459999c6320.text',
          },
        ],
      },
      hintConf: {
        icon: 'fas dx-icon icon-t-question-circle',
        message: 'AAA',
        enable: true,
        ValueInfo_message:
          'Schema.Page.Page135545.Controls.fas_datagrid.hintConf.Code.message',
      },
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Code',
      ValueInfo_caption: {
        ShowValue: '编号',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Code.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Code.DataType',
        Type: 0,
      },
      alignment: 'center',
      name: 'Code',
    },
    {
      ID: 'Name',
      tableAlias: "DO_do_teamsoc",dataField: 'Name',
      caption: '名称',
      width: '200px',
      dataType: 'string',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: "alert('linkFormat')",
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Name',
      ValueInfo_caption: {
        ShowValue: '名称',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Name.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Name.DataType',
        Type: 0,
      },
      name: 'Name',
    },
    {
      fixedColumn: 'left',
      ID: 'Creator',
      tableAlias: "DO_do_teamsoc",dataField: 'Creator',
      caption: '创建人',
      dataType: 'string',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Creator',
      ValueInfo_caption: {
        ShowValue: '创建人',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Creator.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Creator.DataType',
        Type: 0,
      },
      name: 'Creator',
    },
    {
      ID: 'CreatorName',
      tableAlias: "DO_do_teamsoc",dataField: 'CreatorName',
      caption: '创建人姓名',
      dataType: 'String',
      isShow: false,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.CreatorName',
      ValueInfo_caption: {
        ShowValue: '创建人姓名',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.CreatorName.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.CreatorName.DataType',
        Type: 0,
      },
    },
    {
      ID: 'CreateTime',
      tableAlias: "DO_do_teamsoc",dataField: 'CreateTime',
      caption: '创建时间',
      dataType: 'DateTime',
      isShow: false,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.CreateTime',
      ValueInfo_caption: {
        ShowValue: '创建时间',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.CreateTime.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'DateTime',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.CreateTime.DataType',
        Type: 0,
      },
    },
    {
      ID: 'LastModifier',
      tableAlias: "DO_do_teamsoc",dataField: 'LastModifier',
      caption: '最后修改人',
      dataType: 'string',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifier',
      ValueInfo_caption: {
        ShowValue: '最后修改人',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifier.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifier.DataType',
        Type: 0,
      },
      name: 'LastModifier',
    },
    {
      ID: 'LastModifierName',
      tableAlias: "DO_do_teamsoc",dataField: 'LastModifierName',
      caption: '最后修改人姓名',
      dataType: 'String',
      isShow: false,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifierName',
      ValueInfo_caption: {
        ShowValue: '最后修改人姓名',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifierName.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'String',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifierName.DataType',
        Type: 0,
      },
    },
    {
      ID: 'LastModifyTime',
      tableAlias: "DO_do_teamsoc",dataField: 'LastModifyTime',
      caption: '最后修改时间',
      dataType: 'Timestamp',
      isShow: false,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifyTime',
      ValueInfo_caption: {
        ShowValue: '最后修改时间',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifyTime.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'Timestamp',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.LastModifyTime.DataType',
        Type: 0,
      },
    },
    {
      ID: 'Date',
      tableAlias: "DO_do_teamsoc",dataField: 'Date',
      caption: '日期',
      dataType: 'date',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Date',
      ValueInfo_caption: {
        ShowValue: '日期',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Date.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'Date',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Date.DataType',
        Type: 0,
      },
      name: 'Date',
      format: 'yyyy-MM-dd',
    },
    {
      ID: 'DateTime',
      tableAlias: "DO_do_teamsoc",dataField: 'DateTime',
      caption: '日期时间',
      dataType: 'datetime',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.DateTime',
      ValueInfo_caption: {
        ShowValue: '日期时间',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.DateTime.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'DateTime',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.DateTime.DataType',
        Type: 0,
      },
      name: 'DateTime',
      dataFormat: {
        DateFormat: '',
        FormatType: 'DateTime',
      },
    },
    {
      ID: 'Time',
      tableAlias: "DO_do_teamsoc",dataField: 'Time',
      caption: '时间',
      dataType: 'datetime',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Time',
      ValueInfo_caption: {
        ShowValue: '时间',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Time.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'Time',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Time.DataType',
        Type: 0,
      },
      name: 'Time',
      editorOptions: {
        type: 'time',
        displayFormat: 'HH:mm:ss',
        dateSerializationFormat: 'HH:mm:ss',
      },
      format: 'HH:mm:ss',
    },
    {
      ID: 'Boolean',
      tableAlias: "DO_do_teamsoc",dataField: 'Boolean',
      caption: '布尔',
      dataType: 'boolean',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Boolean',
      ValueInfo_caption: {
        ShowValue: '布尔',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Boolean.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'Boolean',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Boolean.DataType',
        Type: 0,
      },
      name: 'Boolean',
      format: '',
    },
    {
      // fixedColumn: 'right',
      ID: 'Int',
      tableAlias: "DO_do_teamsoc",dataField: 'Int',
      caption: 'Int',
      dataType: 'number',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Int',
      ValueInfo_caption: {
        ShowValue: 'Int',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Int.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'Boolean',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Boolean.DataType',
        Type: 0,
      },
      name: 'Int',
      format: '',
      dataFormat: {
        DiscountFixedRule: '1',
        FormatType: 'Discount',
      },
      chartOptions: {
        type: 'pie',
        xAxisData: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
        yAxisData: '150, 230, 224, 218, 135, 147, 260',
      },
    },
    {
      // fixedColumn: 'right',
      ID: 'Float',
      tableAlias: "DO_do_teamsoc",dataField: 'Float',
      caption: 'Float',
      dataType: 'number',
      isShow: true,
      groupIndex: '',
      ExprExt: {},
      linkFormat: '',
      enumDisp: {},
      hintConf: {},
      expanded: true,
      RefSchemaExpr:
        'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Float',
      ValueInfo_caption: {
        ShowValue: 'Float',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Float.Text',
        Type: 0,
      },
      ValueInfo_dataType: {
        ShowValue: 'Float',
        ReferenceExpr:
          'Schema.DQ.GetCDO_DO_174634BasicList.Sources.DO_174634.Columns.Float.DataType',
        Type: 0,
      },
      name: 'Float',
      dataFormat: {
        DecimalDigit: 4,
        ThousandsSeparator: false,
        Demo: '',
        FormatType: 'Number',
      },
    },
  ],
};
